package interfaces.rmi.client;

import interfaces.game.IEntity;
import interfaces.rmi.IRemote;

import java.rmi.RemoteException;
import java.util.Collection;

public interface IClientCallBack extends IRemote
{
	public void chat(String message) throws RemoteException;

	public void joinMessage(String name) throws RemoteException;

	public void exitMessage(String name) throws RemoteException;

	public void sendMessage(String name, String s) throws RemoteException;

	public long getTime() throws RemoteException;

	public long pushUpdates(Collection<IEntity> updates) throws RemoteException;
}
